<template>
	<view class="flex-col page">
		<view class="flex-col flex-auto group_2 space-y-30">
			<view class="flex-col section space-y-14">
				<view class="flex-row justify-between items-baseline">
					<text class="text_3">第一节丨水中倒立</text>
					<text class="font_1 text_4">已上课</text>
				</view>
				<view class="flex-row justify-between items-center">
					<view class="flex-col justify-start items-center text-wrapper">
						<text class="font_2 text_5">时长2小时</text>
					</view>
				</view>
				<view class="flex-row justify-between items-center">
					<view class="flex-row items-center space-x-11">
						<image class="shrink-0 image_7"
							src="https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/61a6df60dc329c0011115679/61a70accdc329c0011116ca9/16510496313626855154.png" />
						<text class="font_2">李教练</text>
					</view>
					<text class="font_2 text_6">2022/12/10 12:00-13:00</text>
				</view>
			</view>
			<view class="flex-col group_3">
				<view class="flex-col section_2 space-y-29">
					<text class="self-start font_1 text_7 text_8">上课记录</text>
					<view class="flex-row justify-center items-center section_3 space-x-11">
						<view class="flex-col justify-start items-center text-wrapper_2"><text class="text_9">到</text>
						</view>
						<text class="font_1">2020/12/07 10:32:12</text>
					</view>
				</view>
				<view class="flex-col list space-y-30">
					<view class="flex-col section_2 space-y-30" :key="i" v-for="(item, i) in 3">
						<text class="self-start font_1 text_7">教学目标</text>
						<view class="flex-col justify-start section_4">
							<view class="group_4">
								<text class="font_3">本课节主要是提高学生的游泳前的准备事项，提高学生心理素质，锻炼提高学生的游泳技能，学习倒立技巧，能很好的展现出你的游泳水平</text>
							</view>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				assetsPath: this.$https.assetsPath,
			}
		},
		onLoad() {},
		methods: {

		}

	}
</script>

<style lang='scss'>
	@import '../../../static/css/common/common.scss';

	.page {
		background-color: #f3f3f3;
		width: 100%;
		overflow-y: auto;
		overflow-x: hidden;
		height: 100%;

		.group_2 {
			padding-bottom: 194rpx;
			overflow-y: auto;

			.section {
				padding: 25rpx 27rpx 30rpx 30rpx;
				background-color: #ffffff;

				.text_3 {
					color: #333333;
					font-size: 30rpx;
					font-family: PingFang SC;
					font-weight: 700;
					line-height: 29rpx;
				}

				.text_4 {
					color: #999999;
					font-weight: 500;
				}

				.text-wrapper {
					padding: 10rpx 0;
					background-color: #ff8f051a;
					border-radius: 20.5rpx;
					width: 149rpx;
					height: 41rpx;
					margin-top: 16rpx;

					.text_5 {
						color: #ff8f05;
						line-height: 22rpx;
						text-align: center;
					}
				}

				.image_6 {
					margin-right: 3rpx;
					width: 73rpx;
					height: 73rpx;
				}

				.font_2 {
					font-size: 24rpx;
					font-family: PingFang SC;
					line-height: 46rpx;
					font-weight: 500;
					color: #333333;
				}

				.text_6 {
					margin-right: 11rpx;
				}
			}

			.space-y-14 {

				&>view:not(:first-child),
				&>text:not(:first-child),
				&>image:not(:first-child) {
					margin-top: 14rpx;
				}
			}

			.group_3 {
				padding: 0 30rpx;

				.section_2 {
					padding-top: 30rpx;
					background-color: #f9f9f9;
					border-radius: 20rpx;

					.text_7 {
						margin-left: 31rpx;
					}

					.text_8 {
						line-height: 28rpx;
					}

					.section_3 {
						padding: 40rpx 0;
						background-color: #ffffff;
						border-radius: 20rpx;

						.text-wrapper_2 {
							padding: 6rpx 0;
							background-image: url('https://codefun-proj-user-res-1256085488.cos.ap-guangzhou.myqcloud.com/61a70accdc329c0011116ca9/16734836802808005201.png');
							background-size: 100% 100%;
							background-repeat: no-repeat;
							width: 33rpx;
							height: 34rpx;

							.text_9 {
								color: #ffffff;
								font-size: 22rpx;
								font-family: PingFang SC;
								font-weight: 500;
								line-height: 21rpx;
								text-align: center;
							}
						}
					}

					.section_4 {
						padding: 25rpx 0;
						background-color: #ffffff;
						border-radius: 20rpx;

						.group_4 {
							margin-left: 31rpx;
							margin-right: 10rpx;
							line-height: 34rpx;

							.font_3 {
								font-size: 26rpx;
								font-family: PingFang SC;
								letter-spacing: 1.04rpx;
								line-height: 34rpx;
								color: #666666;
							}
						}
					}
				}

				.space-y-29 {

					&>view:not(:first-child),
					&>text:not(:first-child),
					&>image:not(:first-child) {
						margin-top: 29rpx;
					}
				}

				.list {
					padding-top: 30rpx;
				}
			}

			.font_1 {
				font-size: 28rpx;
				font-family: PingFang SC;
				line-height: 34rpx;
				font-weight: 700;
				color: #333333;
			}

			.space-x-11 {

				&>view:not(:first-child),
				&>text:not(:first-child),
				&>image:not(:first-child) {
					margin-left: 11rpx;
				}

				.image_7 {
					width: 40rpx;
					height: 40rpx;
				}
			}
		}

		.space-y-30 {

			&>view:not(:first-child),
			&>text:not(:first-child),
			&>image:not(:first-child) {
				margin-top: 30rpx;
			}
		}
	}
</style>
